#-*- coding:utf-8 -*-
import os

if __name__ == '__main__':
    pathName = input("输入项目路径：")

    if not (pathName):
        print('输入有空值！')
        exit(0)

    for root, dirs, files in os.walk(pathName):
        rt = root.replace('\\','/')
        print(rt)
        print(dirs)
        print(files, len(files))